projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc4c325
)
testnotebookdnd: quit when the toplevel gets closed
author
Timm Bäder
<mail@baedert.org>
Fri, 23 Jun 2017 18:33:52 +0000
(20:33 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:14 +0000
(21:27 -0400)
tests/testnotebookdnd.c
patch
|
blob
|
history
diff --git
a/tests/testnotebookdnd.c
b/tests/testnotebookdnd.c
index a9b1bac29ce76e673f8a0742d8d60b47e293aaf1..e40793fb8f54493a234d84c4e1a97a70caf3f7e0 100644
(file)
--- a/
tests/testnotebookdnd.c
+++ b/
tests/testnotebookdnd.c
@@
-347,6
+347,9
@@
main (gint argc, gchar *argv[])
gtk_container_add (GTK_CONTAINER (window), grid);
gtk_window_set_default_size (GTK_WINDOW (window), 400, 400);
+
+ g_signal_connect (window, "delete-event", G_CALLBACK (gtk_main_quit), NULL);
+
gtk_widget_show (window);
gtk_main ();